﻿using System;

namespace LogicalAndOR
{
    class Program
    {
        static void Main(string[] args)
        {
            int age = 25;

            

            if (age >= 16 && age <= 65) // 16 <= age <= 65
            {
                Console.WriteLine("Allowed");
            }
            else // age < 16 || age > 65
            {
                Console.WriteLine("Not Allowed");
            }

            if (age > 65) // > 65
            {
                Console.WriteLine("age > 65");
            }

            if (age < 16) // < 16
            {
                Console.WriteLine("age < 16");
            }
        }
    }
}
